package com.javarush.test.level04.lesson06.task04;

import java.io.BufferedReader;
import java.io.InputStreamReader;

/**
 * Created by IntelliJ IDEA.
 * User: Andry
 * Date: 03.02.13
 * Time: 2:47
 * To change this template use File | Settings | File Templates.
 */
public class Solution
{
    public static void main(String[] args) throws Exception
    {
        //Напишите тут ваш код
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        String sValue1 = reader.readLine();
        String sValue2 = reader.readLine();


        if (sValue1.equals(sValue2))
        {
            System.out.println("Имена идентичны");
        }
        if (sValue1.length() == sValue2.length())
        {
            System.out.println("Длины имен равны");
        }
    }
}
